package com.travel.zuul;

import com.travel.common.base.CorsFilterBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @Author: LiZhenhui
 * @Date: 2018/10/16 14:34
 * @Desc:
 */
@EnableZuulProxy
@SpringBootApplication
@EnableDiscoveryClient
@EnableCircuitBreaker
@EnableFeignClients
public class ZuulApplication extends CorsFilterBean {
    public static void main(String[] args){
        SpringApplication.run(ZuulApplication.class, args);
    }
}
